* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
#logo {
  width: 10em;
}
/* Header Styles */
header {
  background-color: #0a2744;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #0056b3;
}

.logo span {
  color: #ff6b00;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
  color: white;
}

nav ul li a:hover {
  color: #ff6b00;
}

.contact-btn {
  background-color: #ff6b00;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #e05e00;
}

/* Overlay for first slide */
.first-slide {
  position: relative;
}

.first-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
}

/* Ensure image stays behind overlay */
.first-slide img {
  object-fit: cover;
  height: 100vh;
}
#home-1 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}
/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .carousel-slide {
    background-position: center top;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    min-height: 50vh;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }
}

/* Footer */
footer {
  background-color: #0a2744;
  color: white;
  padding: 70px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #ff6b00;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links li a:hover {
  color: #ff6b00;
}

.footer-contact p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  text-decoration: none;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #ff6b00;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
img {
  width: 35em;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #0056b3;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }

  /* Hide nav links by default on mobile */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  /* Show menu when active */
  nav ul.active {
    display: flex;
  }

  /* Adjust nav items for mobile */
  nav ul li {
    margin: 10px 20px;
  }

  /* Adjust hero section for mobile */
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  /* Section header size */
  .section-header h2 {
    font-size: 28px;
  }

  /* Make service/industry grids single column */
  .services-grid,
  .industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Make dropdowns full width and position relative */
  .dropdown-content {
    position: relative;
    top: unset;
    left: unset;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
  }

  .dropdown:hover .dropdown-content,
  .dropdown.open .dropdown-content {
    display: flex;
  }
}
/* Hamburger icon hidden by default */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #0056b3;
  border-radius: 3px;
}

/* NAV MENU (MOBILE) */
@media (max-width: 768px) {
  nav ul {
    display: none; /* Hide initially */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex; /* Show on mobile */
  }

  nav ul li {
    margin: 10px 20px;
    color: black;
  }

  /* Dropdown content expands in place */
  .dropdown-content {
    position: relative;
    top: unset;
    left: unset;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}

/* Basic reset for ul inside nav */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Horizontal main menu */
  gap: 20px;
  align-items: center;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button styling */
.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 8px 12px;
  color: white;
  font-weight: 600;
}

/* Dropdown content container (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* right below the button */
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  flex-direction: column;
}

/* Dropdown links */
.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  display: block;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on button hover or focus */
/* If you want on click, you'd need JS, but hover example here: */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: flex;
}

/* Optional: change dropdown button color on hover */
.dropdown-btn:hover,
.dropdown-btn:focus {
  color: #ff6b00;
  outline: none;
}

/* Basic reset for ul inside nav */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Horizontal main menu */
  gap: 20px;
  align-items: center;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button styling */
.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 8px 12px;
  color: white;
  font-weight: 600;
}

/* Dropdown content container (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* right below the button */
  left: 0;
  background-color: white;
  min-width: 200px;
  max-height: 250px; /* max height to limit dropdown size */
  overflow-y: auto; /* enable vertical scroll */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  flex-direction: column;
  scrollbar-width: thin; /* for Firefox */
}
/* Dropdown links */
.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  display: block;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on button hover or focus */
/* If you want on click, you'd need JS, but hover example here: */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: flex;
}

/* Optional: change dropdown button color on hover */
.dropdown-btn:hover,
.dropdown-btn:focus {
  color: #ff6b00;
  outline: none;
}
/* Hamburger icon hidden by default */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #0056b3;
  border-radius: 3px;
}
.hero {
  background-color: #9fb3df;
  color: black;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 50%;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ✅ Responsive: Stack content and show image below on mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
    text-align: center;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    order: 1; /* content first */
    flex: 1 1 100%;
  }

  .hero-image {
    order: 2; /* image second */
    flex: 1 1 100%;
    margin-top: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-image img {
    width: 90%;
    max-width: 400px;
  }
}

/* NAV MENU (MOBILE) */
@media (max-width: 768px) {
  nav ul {
    display: none; /* Hide initially */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0a2744;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }
  nav ul li a {
    color: white; /* ✅ Mobile nav link color */
  }

  .dropdown-btn {
    color: white; /* ✅ Dropdown button color on mobile */
  }

  .dropdown-content a {
    color: black; /* ✅ Dropdown items color on mobile */
  }
  .menu-toggle {
    display: flex; /* Show on mobile */
  }

  nav ul li {
    margin: 10px 20px;
  }

  /* Dropdown content expands in place */
  .dropdown-content {
    position: relative;
    top: unset;
    left: unset;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  /* Logo CSS starts from here */
  .logo img {
    width: 150px;
    height: auto;
    display: block;
  }
}

img {
  display: block;
  width: 40em;
  margin: 0 auto;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0056b3, #00377a 100%);
  color: white;
  padding: 3em;
  position: relative;
  overflow: hidden;
  margin-top: 4em;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.accordion-header {
  width: 100%;
  padding: 1em;
  font-size: 1.1rem;
  text-align: left;
  background-color: white;
  color: black;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: gray;
}

.accordion-header .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-body {
  padding: 16px 24px;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion-header.active .icon {
  transform: rotate(45deg);
  /* + turns to × visually, or rotate(90deg) if using >/v */
}

/* Responsive: stack main menu vertically on small screens */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
.main-list > li {
  font-weight: bold;
  margin-bottom: 10px;
}
ol {
  list-style-type: decimal;
  margin-left: 20px;
  font-size: 1.1em;
}

ol > li {
  margin-bottom: 1em;
}

ol ul {
  list-style-type: disc;
  margin-top: 0.5em;
  margin-left: 20px;
  font-weight: normal;
  font-size: 0.95em;
}

ol ul ul {
  list-style-type: circle;
  margin-left: 20px;
  font-size: 0.9em;
  color: #444;
}

ol ul li {
  margin-bottom: 0.5em;
}

code {
  background-color: #f4f4f4;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
}

/* Optional: add spacing between sections */
.main-list > li + li {
  margin-top: 20px;
}
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .sidenav {
    height: 50px;
    padding: 0 10px;
  }

  .sidenav a {
    padding: 0 10px;
    font-size: 14px;
  }
}
.container-fluid {
  width: 100%; /* Full width */
  padding: 0 15px; /* Add some horizontal padding */
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center text */
  background: linear-gradient(
    135deg,
    #0056b3,
    #00377a 100%
  ); /* Background gradient */
  color: white; /* Text color */
  min-height: 60vh;
}

.container-fluid h1 {
  font-size: 4vw; /* Responsive font size */
  margin: 0; /* Remove default margin */
  line-height: 1.2; /* Line height for better readability */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .container-fluid h1 {
    font-size: 32px;
  }
}
